package com.xinghai.system.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinghai.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import com.xinghai.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * 用户对象 qd_user
 *
 * @author xinghai
 * @date 2024-12-04
 */
@TableName("qd_user")
@Data
public class QdUser extends BaseEntity
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 状态 */

    @Excel(name = "状态")
    private String status;

    @Excel(name = "头像")
    private String avatar;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    /** 昵称 */

    @Excel(name = "昵称")
    private String nickName;

    /** 用户手机号 */

    @Excel(name = "用户手机号")
    private String userPhone;

    /** 密码 */
    private String password;

    /** 邀请人id */

    @Excel(name = "邀请人id")
    private Long superId;

    @Excel(name = "邀请人头像")
    private String superAvatar;

    /** 昵称 */

    @Excel(name = "邀请人昵称")
    private String superUserName;

    /** 用户手机号 */
    @Excel(name = "邀请人手机号")
    private String superUserPhone;

    /** 邀请码 */

    @Excel(name = "邀请码")
    private String inviteCode;

    /** 直推人数 */

    @Excel(name = "直推人数")
    private Integer pushNum;

    /** 团队人数 */

    @Excel(name = "团队人数")
    private Integer teamNum;

    /** 银行卡账号开户名 */

    @Excel(name = "银行卡账号开户名")
    private String bankInfo;

    /** 银行卡号 */

    @Excel(name = "银行卡号")
    private String bankNo;

    /** 开户银行 */

    @Excel(name = "开户银行")
    private String bankName;

    /** 省 */
    private String province;

    /** 市 */
    private String city;

    /** 区 */
    private String area;
    /** 收货地址 */
    @Excel(name = "收货地址")
    private String address;

    /** 用户类型 */

    @Excel(name = "用户类型")
    private String userType;

    /** 约/抢单权限 */

    @Excel(name = "约/抢单权限")
    private String powerStatus;

    /** 分组一权限 */

    @Excel(name = "分组一权限")
    private String groupOnePower;

    /** 分组二权限 */

    @Excel(name = "分组二权限")
    private String groupTwoPower;

    /** 分组三权限 */

    @Excel(name = "分组三权限")
    private String groupThreePower;

    /** 自动预约状态 */

    @Excel(name = "自动预约状态")
    private String autoStatus;

    /** 总金额约单状态 */

    @Excel(name = "总金额约单状态")
    private String allAmountStatus;

    /** 总金额度 */

    @Excel(name = "总金额度")
    private BigDecimal amountQuota;

    /** 用户单独公告 */

    @Excel(name = "用户单独公告")
    private String userNotice;

    /** 最大提现额度 */

    @Excel(name = "最大提现额度")
    private BigDecimal maxWithdrawal;

    /** 赠送价值 */

    @Excel(name = "赠送价值")
    private BigDecimal giftValue;

    /** 归属店铺 */

    @Excel(name = "归属店铺")
    private Long ascriptionStore;

    /** 店铺名称 */

    @Excel(name = "店铺名称")
    private String storeName;

    /** 店长名称 */

    @Excel(name = "店长名称")
    private String storeLeader;

    /** 店长手机号 */

    @Excel(name = "店长手机号")
    private String storeLeaderPhone;

    /** 店长id */

    @Excel(name = "店长id")
    private Long storeLeaderId;

    /** 店铺图片 */

    @Excel(name = "店铺图片")
    private String storeLeaderImg;

    @Excel(name = "备注")
    private String remark;

    @Excel(name = "发货状态")
    private String sendStatus;

    @Excel(name = "累计交易天数")
    private Integer dealDay;

    @TableField(exist = false)
    private String userIds;

}
